Repository navigation
Upate markdown-it w/ npm auto-update - #2223
Merged
Merged
Conversation
niklhut
marked this pull request as ready for review
November 17, 2026 14:41
MattIPv4
approved these changes
Nov 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Split out of #2219. Switches markdown-it from git to npm auto-update. Its GitHub tags hold sources only; the built files ship on npm, from the same repository.
fileMap:
dist:*→markdown-it.js,markdown-it.min.jsand their maps. That is the 14.x layout. On 15.x,*would also publish the CommonJS build, the type definitions anddist/markdown-it.mjs, which imports other npm packages by bare name.dist/browserentry:markdown-it.umd.min.js,markdown-it.esm.min.mjsand their maps. That is the 15.x layout; the ESM build is self-contained.Each version publishes 4 files.
filenamechanges frommarkdown-it.min.jstomarkdown-it.umd.min.js, which exists in 15.0.3, the highest stable version and the one cdnjs serves as latest.CI fails on this config. markdown-it still maintains 14.x (npm tag
v14-legacy) next to 15.x, and 14.3.3 was published 22 minutes after 15.0.3.checker show-filestreats the most recently published version as the latest, so it checksfilenameagainst 14.3.3, which doesn't have it. cdnjs serves the highest stable version, 15.0.3. No file has the same name in both lines, and ignoring 14.x would drop its patches from cdnjs. cdnjs/tools#289 makesshow-filescheck the highest stable version first; once that is released, a re-run of this PR's CI should pass.checker lintpasses.beep-boop-niklas-agent-🤖